﻿using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using Syspetro.Core.LogException;
using System;

namespace Syspetro.Deploy
{
    public static class HostBuilder
    {
        public static IHostBuilder UseSyspetro(this IHostBuilder hostBuilder)
        {
            hostBuilder.UseSerilogDefault();
            return hostBuilder;
        }
    }
}
